<template>
  <div class="police-situation">
    <div class="police-situation-item">
      <div class="value-block">
        <div class="value">23</div>
        <div style="color: #2FC15B" class="tips">-75%</div>
      </div>
      <div class="text">本月警情</div>
    </div>
    <div class="police-situation-item">
      <div class="value-block">
        <div class="value">23</div>
        <div style="color: #21D9E3" class="tips">100%</div>
      </div>
      <div class="text">已处理</div>
    </div>
    <div class="police-situation-item">
      <div class="value-block">
        <div class="value">分钟</div>
        <div style="color:#E90000" class="tips">0分钟</div>
      </div>
      <div class="text">平均响应</div>
    </div>
    <div class="police-situation-item">
      <div class="value-block">
        <div class="value">100%</div>
        <div style="color: #2FC15B" class="tips">+0%</div>
      </div>
      <div class="text">处置率</div>
    </div>
  </div>
</template>
<script>
export default {
  name: 'PoliceSituation'
}
</script>
<style scoped lang="scss">
.police-situation{
  width: 100%;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: flex-start;
  .police-situation-item{
    width: calc(50% - 10px);
    height: calc(50% - 10px);
    background: rgba(255,255,255,.1);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    .value-block{
      display: flex;
      align-items: center;
      margin-bottom: 5px;
      .value{
        font-family: 冷酷体;
        font-size: 30px;
        font-weight: bold;
        color: #35B2FB;
        margin-right: 10px;
      }
      .tips{
        font-size: 14px;
      }
    }
    .text{
      color: #fff;
      font-size: 15px;
    }
  }
}
</style>
